package org.pr.ddddesigner.application.transfer;

import com.lion.commons.assembler.DtoToEntityAssembler;
import org.mapstruct.Mapper;
import org.mapstruct.Mappings;
import org.pr.ddddesigner.domain.aggregation.model.User;
import org.pr.ddddesigner.interfaces.dto.UserInfo;

/**
 * @description:
 * @projectName:DDD-Designer
 * @see:org.pr.ddddesigner.application.transfer
 * @author:LXC
 * @createTime:2024/4/19 14:37
 * @version:1.0
 */
@Mapper(componentModel = "spring")
public interface UserInfoDtoToEntity extends DtoToEntityAssembler<UserInfo, User> {

    @Mappings({})
    @Override UserInfo toDto(User entity);
}
